package com.bear.model.entity.forum;

import java.sql.Timestamp;

import com.bear.model.entity.User;

public class Topic {
	private int id;
	private String title;
	private String content;
	private User author;
	private Timestamp topictime;
	private String photoaddress;
	private int isgood;
	private int replycount;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public User getAuthor() {
		return author;
	}
	public void setAuthor(User author) {
		this.author = author;
	}
	public Timestamp getTopictime() {
		return topictime;
	}
	public void setTopictime(Timestamp topictime) {
		this.topictime = topictime;
	}
	public String getPhotoaddress() {
		return photoaddress;
	}
	public void setPhotoaddress(String photoaddress) {
		this.photoaddress = photoaddress;
	}
	public int getIsgood() {
		return isgood;
	}
	public void setIsgood(int isgood) {
		this.isgood = isgood;
	}
	public int getReplycount() {
		return replycount;
	}
	public void setReplycount(int replycount) {
		this.replycount = replycount;
	}
	
	

}
